/* highlight.c */

#include "highlight.h"

int highlight_array_len = 6;

char *highlight_type[MAX_HIGHLIGHTS] = {
	"\\bauto\\b\\|\\bbreak\\b\\|\\bcase\\b\\|\\bchar\\b\\|\\bconst\\b\\|\\bcontinue\\b\\|\\bdefault\\b\\|\\bdo\\b\\|\\bdouble\\b\\|\\belse\\b\\|\\benum\\b\\|\\bextern\\b\\|\\bfloat\\b\\|\\bfor\\b\\|\\bgoto\\b\\|\\bif\\b\\|\\bint\\b\\|\\blong\\b\\|\\bregister\\b\\|\\breturn\\b\\|\\bshort\\b\\|\\bsigned\\b\\|\\bsizeof\\b\\|\\bstatic\\b\\|\\bstruct\\b\\|\\bswitch\\b\\|\\btypedef\\b\\|\\bunion\\b\\|\\bunsigned\\b\\|\\bvoid\\b\\|\\bvolatile\\b\\|\\bwhile\\b",
	"\".*\"",
	"#.*",
	"\\/\\*.*\\*\\/",
	"\\/\\/.*",
	"\\b[0-9][0-9]*\\b",
	"\\bNULL\\b\\|\\bTRUE\\b\\|\\bFALSE\\b",
};

int highlight_color[MAX_HIGHLIGHTS] = {
	HIGHLIGHT_COLOR_GREEN,
	HIGHLIGHT_COLOR_RED,
	HIGHLIGHT_COLOR_BROWN,
	HIGHLIGHT_COLOR_BLUE,
	HIGHLIGHT_COLOR_BLUE,
	HIGHLIGHT_COLOR_RED,
	HIGHLIGHT_COLOR_BROWN,
};
